package com.yami.shop.rights.common.model;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

@Data
@Schema(description ="持仓权益")
@TableName("tz_person_rights")
public class PersonRights {

  @TableId(type = IdType.AUTO)
  private long id;
  @Schema(description = "token ID")
  private String tokenId;
  @Schema(description = "权益次数")
  private long times;
  @Schema(description = "权益ID")
  private long rightsId;
  @Schema(description = "状态(0:正常1:使用3:过期,4冻结)")
  private int status;
  @Schema(description = "用户ID")
  private String userId;
  @Schema(description = "对外编码")
  private String externalId;
  private java.sql.Timestamp createTime;
  private java.sql.Timestamp updateTime;

}
